package com.example.myeureka;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @author ChenPanrui
 * 需要注意springBoot和eureka的版本
 * Spring Cloud ：Greenwich.SR2
 * Spring Boot： 2.1.6.RELEASE
 */
@EnableEurekaServer
@SpringBootApplication
public class MyEurekaApplication {

    public static void main(String[] args) {
        SpringApplication.run(MyEurekaApplication.class, args);
    }

}
